package com.bdzl.admin.service.sys.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.admin.dao.sys.OrgCategoryDao;
import com.bdzl.pub.entity.sys.OrgCategoryDO;
import com.bdzl.admin.service.sys.OrgCategoryService;



@Service
public class OrgCategoryServiceImpl implements OrgCategoryService {
	@Autowired
	private OrgCategoryDao orgCategoryDao;
	
	@Override
	public OrgCategoryDO get(Integer catId){
		return orgCategoryDao.get(catId);
	}
	
	@Override
	public List<OrgCategoryDO> list(Map<String, Object> map){
		return orgCategoryDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orgCategoryDao.count(map);
	}
	
	@Override
	public int save(OrgCategoryDO orgCategory){
		return orgCategoryDao.save(orgCategory);
	}
	
	@Override
	public int update(OrgCategoryDO orgCategory){
		return orgCategoryDao.update(orgCategory);
	}
	
	@Override
	public int remove(Integer catId){
		return orgCategoryDao.remove(catId);
	}
	
	@Override
	public int batchRemove(Integer[] catIds){
		return orgCategoryDao.batchRemove(catIds);
	}
	
}
